package com.threeSales.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.threeSales.dao.UserNexusDao;
import com.threeSales.entity.UserNexus;

@Service
public class UserNexusService {
	
	@Autowired
	private UserNexusDao userNexusDao;
	
	
	public int aotuAdd(UserNexus userNexus){
		return userNexusDao.aotuAdd(userNexus);
	}
	
	public int nexusAdd(UserNexus userNexus){
		return userNexusDao.nexusAdd(userNexus);
	}
	
	public List<UserNexus> findByfid(String fid){
		return userNexusDao.findByfid(fid);
	}
}
